package com.perceptivesoftware.licensing.client.dto;

import java.util.List;
import com.google.gwt.user.client.rpc.IsSerializable;
import com.perceptivesoftware.licensing.client.common.util.NotificationType;

public class NotificationGroupDTO implements IsSerializable {

	private String id;
	private String name;
	private NotificationType type;
	private List<NotificationDetailDTO> toGroup;
	private List<NotificationDetailDTO> ccGroup;
	private String toFieldValues;
	private String ccFieldValues;
	private boolean onetime;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public NotificationType getType() {
		return type;
	}

	public void setType(NotificationType type) {
		this.type = type;
	}

	public List<NotificationDetailDTO> getToGroup() {
		return toGroup;
	}

	public void setToGroup(List<NotificationDetailDTO> toGroup) {
		this.toGroup = toGroup;
	}

	public List<NotificationDetailDTO> getCcGroup() {
		return ccGroup;
	}

	public void setCcGroup(List<NotificationDetailDTO> ccGroup) {
		this.ccGroup = ccGroup;
	}

	public String getToFieldValues() {
		return toFieldValues;
	}

	public void setToFieldValues(String toFieldValues) {
		this.toFieldValues = toFieldValues;
	}

	public String getCcFieldValues() {
		return ccFieldValues;
	}

	public void setCcFieldValues(String ccFieldValues) {
		this.ccFieldValues = ccFieldValues;
	}

	public boolean isOnetime() {
		return onetime;
	}

	public void setOnetime(boolean onetime) {
		this.onetime = onetime;
	}

}